<?php
/**
 * ShopEx licence
 *
 * -------
 * -------
 */
 
class gift_view_helper{

    function __construct($app){
        $this->app = $app;
    }

    function function_goodsmenu($params,&$smarty){
        $vars = $smarty->pagedata;
        $smarty->pagedata = $params;
        $html = $smarty->fetch('site/product/menu.html',app::get('gift')->app_id);
        $smarty->pagedata = $vars;
        return $html;
    }

}
